#include "login_impl.h"
#include "tools.h"
#include <iostream>
using namespace std;
int main()
{
	Loginimpl log;
	while(1)
	{
		cout<<"1、管理员登陆"<<endl;
		cout<<"2、超级管理员登陆"<<endl;
		switch (get_cmd('1','2'))
		{
			case '1':log.login();break;
			case '2':log.loginsup();break;
		}
	}
}
